luci-material-theme: align td text width 33%
authorMiguel Angel Mulero Martinez <[email protected]>
Sat, 30 Apr 2022 07:57:02 +0000 (09:57 +0200)
committerJo-Philipp Wich <[email protected]>
Mon, 5 Dec 2022 09:44:14 +0000 (10:44 +0100)
The CSS applies a different padding for td elements with 33% width. This
misaligns the text from this td to the others td.

This change modifies the CSS to apply the same padding to all of the
sibling td.

Signed-off-by: Miguel Angel Mulero Martinez <[email protected]>
(cherry picked from commit 3333fd6695cbd2e7a6055f01542242a3b7c111ec)

themes/luci-theme-material/htdocs/luci-static/material/cascade.css

index 77e509227cbb8e4730df442f93dc1b77d1b9a884..b6094d7fb9878ad363ec2218db10654625b81d08 100644 (file)
@@ -76,7 +76,8 @@
        background: inherit;
 }
 
-.td[width="33%"] {
+.td[width="33%"], 
+.td[width="33%"]~.td {
        padding: 1.1em;
 }